package com.zy.cat.entity.run.resp;

import java.util.List;

import javax.persistence.Column;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 9趣猫用户每日运动信息
 * @author Link
 * @date 2019-10-30 09:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(" 9趣猫用户每日运动信息")
public class DailyStepInfoResp {
	
	@ApiModelProperty(value = "每日步数", example = "200")
	private int steps;
	
	@ApiModelProperty(value = "可兑换步数", example = "200")
	@JsonProperty(value = "last_steps")
	private int lastSteps;
	
	@ApiModelProperty(value = "今日已兑换步数", example = "200")
	@JsonProperty(value = "already_convert_steps")
	private int alreadyConvertSteps;
 
	@ApiModelProperty(value = "金豆下次领取时间", example = "2019-02-22 12:56:56")
	private String ltime;
	
	@ApiModelProperty(value = "加速状态（0.未加速、1.已加速）", example = "0")
	private int jstatus;
	
	@ApiModelProperty(value = "加速ID", example = "a4fa29641")
	private String sid;
	
	@ApiModelProperty(value = "金豆剩余数量", example = "6")
	private long lcount;
	
	@ApiModelProperty(value = "金豆领取列表", example = "[]")
	private List<StepCoins> coins;
	
	@Data
	@AllArgsConstructor
	@NoArgsConstructor
	public static class StepCoins{
		@ApiModelProperty(value = "ID", example = "c9adb120ca2b48f88626ebd35000fa08")
		private String fid;
		
		@ApiModelProperty(value = "金豆类型（0.金豆兑换、1.步数金豆1、2.步数金豆2、3.步数金豆3、）", example = "1")
		private int ctype;
		
		@ApiModelProperty(value = "金豆数量", example = "6")
		private long dcount;
		
		@ApiModelProperty(value = "翻倍状态（-1.不支持翻倍、0.未翻倍、1.已翻倍）", example = "0")
		private int fstatus;
		
		@ApiModelProperty(value = "领取状态（0.未领取、1.已领取）", example = "0")
		private int dstatus;
	}
}
